<%-- 
    Document   : Slideshow
    Created on : Oct 26, 2011, 4:36:01 PM
    Author     : kijoo
--%>

<%@page import="MODEL.POJO.*"%>
<%@page import="java.util.ArrayList"%>
<%@page import="MODEL.DAO.LoaiSanPhamDAO"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
    if (request.getAttribute("TenLoaiDM") != null) {
        String ldm = (String) request.getAttribute("TenLoaiDM");
        if (ldm.equals("iPad")) {
        %><img src="images/Slideshow/ipad.jpg" width="898" height="201" /><%            }
            if (ldm.equals("iPod")) {
        %><img src="images/Slideshow/ipod.jpg" width="898" height="201" /><%            }
            if (ldm.equals("iPhone")) {
        %><img src="images/Slideshow/iphone.jpg" width="898" height="201" /><%            }
            if (ldm.equals("MacBook Air")) {
        %><img src="images/Slideshow/macair.jpg" width="898" height="201" /><%            }
            if (ldm.equals("MacBook Pro")) {
        %><img src="images/Slideshow/macpro.jpg" width="898" height="201" /><%            }
            if (ldm.equals("iMac")) {
        %><img src="images/Slideshow/macpro.jpg" width="898" height="201" /><%                }
    }
%>
